package com.baizhi;

import java.text.SimpleDateFormat;
import java.util.Date;

public class dateDemo {
    public static void main(String[] args) {
        Date date = new Date();

        SimpleDateFormat sdf =  new SimpleDateFormat("YYYY年MM月dd日 HH:mm:ss");
        String str = sdf.format(date);

        System.out.println(str);
    }
}
